<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>ListAdmin</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div class="showing">
    <h2>数据库测试</h2>

    <table>
        <thead>
        <tr>
            <th>id</th>
            <th>姓名</th>
            <th>性别</th>
            <th>电话</th>
            <th>邮箱</th>
            <th>地址</th>
            <th>权限</th>
            <th>注册时间</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="a: ${adminList}">
            <td th:text="${a.id}"></td>
            <td th:text="${a.name}"></td>
            <td th:text="${a.sex}"></td>
            <td th:text="${a.phoNum}"></td>
            <td th:text="${a.email}"></td>
            <td th:text="${a.addr}"></td>
            <td th:text="${a.level}"></td>
            <td th:text="${a.date}"></td>

        </tr>
        </tbody>
    </table>
</div>
</body>

</html>